package cn.edu.zzuli.entity;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors( chain = true )
public class UserEntity {

    private Integer uId;
    private String username;
    private String password;
    private String phone;
    private String gender;
    private String avater;
    private String nickname;
    private Integer likeCount;
    private Integer cardCount;
    private Integer followCount;
    private Integer fansCount;

//    	`uId`int(11) PRIMARY KEY AUTO_INCREMENT,
//	`username` varchar(10) not null,
//            `password` varchar(18) not null,
//            `phone` varchar(11) UNIQUE not null COMMENT '手机号，唯一',
//            `gender` varchar(2),
//	`avater` varchar(100) COMMENT '头像url',
//            `nickname` varchar(8) COMMENT '社交昵称',
//            `like_count` varchar(11) COMMENT '累计获得的点赞数',
//            `card_count` varchar(11) COMMENT '累计发布的卡片数',
//            `follow_count` int(11) COMMENT '关注的数量',
//            `fans_count` int(11) COMMENT '粉丝数量'
}
